Skip to content

docs: refresh public docs entry points#17

Merged
saseungmin merged 1 commit into
mainfrom
docs/public-docs-refresh
Jun 27, 2026
Merged

docs: refresh public docs entry points#17
saseungmin merged 1 commit into
mainfrom
docs/public-docs-refresh

Conversation

@saseungmin

Copy link
Copy Markdown
Member

No description provided.

@changeset-bot

changeset-bot Bot commented Jun 26, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 3d33264

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying react-native-swipe-deck with  Cloudflare Pages  Cloudflare Pages

Latest commit: 3d33264
Status: ✅  Deploy successful!
Preview URL: https://7b5d91bf.react-native-swipe-deck.pages.dev
Branch Preview URL: https://docs-public-docs-refresh.react-native-swipe-deck.pages.dev

View logs

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3d33264210

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

```sh
yarn add @react-native-motion-kit/swipe-deck react-native-gesture-handler react-native-reanimated react-native-worklets
```
<PackageManagerTabs command="@react-native-motion-kit/swipe-deck react-native-gesture-handler react-native-reanimated react-native-worklets" />

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Include the install verb in PackageManagerTabs

Rspress' PackageManagerTabs string form expects the command tail, e.g. official docs use command="install -D @rspress/core" and then rewrite install to add for yarn/pnpm/bun. Passing only package names here renders invalid install tabs such as npm @react-native-motion-kit/swipe-deck ... instead of npm install ...; the same pattern in docs/theme/index.tsx makes the homepage install command invalid too. Please include install in the string or use an explicit per-manager command object.

Useful? React with 👍 / 👎.

Comment thread README.md
## Docs
export function ProfileDeckScreen({ profiles }: { profiles: Profile[] }) {
return (
<View>

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Give the README screen wrapper a flex height

When this README example is pasted as a normal screen, the new outer View has no flex: 1 or fixed height, so the deck's own flex: 1 container can measure with height 0; getSwipeDeckState requires both layout dimensions to be positive before canSwipe becomes true, leaving the sample buttons disabled and gestures unable to commit. Add style={{ flex: 1 }} here or otherwise give the deck a definite height.

Useful? React with 👍 / 👎.

@saseungmin saseungmin merged commit c177085 into main Jun 27, 2026
4 checks passed
@saseungmin saseungmin deleted the docs/public-docs-refresh branch June 27, 2026 02:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant